﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    
    
    <DataTemplate x:Key="NeighborhoodVisualDataTemplate">
        <WrapPanel>
            <TextBlock Style="{DynamicResource SimpleLabelBold}" Text="{Binding Name}" Margin="5,0,10,0" />
            <ToggleButton Style="{DynamicResource NeighborhoodToggleStyle}" IsChecked="{Binding Path=IsHighGrowth}">
                <Image Source="{DynamicResource HighGrowthIcon}" Height="20" Width="20"/>
            </ToggleButton>
            <ToggleButton Style="{DynamicResource NeighborhoodToggleStyle}" IsChecked="{Binding Path=IsNearCenterCity}" >
                <Image Source="{DynamicResource CityCenterIcon}" Height="20" Width="20"/>
            </ToggleButton>

            <ToggleButton Style="{DynamicResource NeighborhoodToggleStyle}" IsChecked="{Binding Path=IsNearFamilyActivities}">
                <Image Source="{DynamicResource FamilyActivitiesIcon}" Height="20" Width="20"/>
            </ToggleButton>

            <ToggleButton Style="{DynamicResource NeighborhoodToggleStyle}" IsChecked="{Binding Path=IsNearParks}">
                <Image Source="{DynamicResource ParkIcon}" Height="20" Width="20"/>
            </ToggleButton>
            <ToggleButton Style="{DynamicResource NeighborhoodToggleStyle}" IsChecked="{Binding Path=IsNearDining}">
                <Image Source="{DynamicResource DiningIcon}" Height="20" Width="20"/>
            </ToggleButton>

            <ToggleButton Style="{DynamicResource NeighborhoodToggleStyle}" IsChecked="{Binding Path=IsNearShopping}">
                <Image Source="{DynamicResource ShoppingIcon}" Height="20" Width="20"/>
            </ToggleButton>
        </WrapPanel>
    </DataTemplate>
</ResourceDictionary>